<html>
<head><meta charset="utf-8"><title>std hacking without bootstrap · t-compiler/help · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/index.html">t-compiler/help</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/std.20hacking.20without.20bootstrap.html">std hacking without bootstrap</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="199793137"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/std%20hacking%20without%20bootstrap/near/199793137" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Dirkjan Ochtman <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/std.20hacking.20without.20bootstrap.html#199793137">(Jun 04 2020 at 19:02)</a>:</h4>
<p>is there some straightforward path to do this today?</p>



<a name="199794223"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/std%20hacking%20without%20bootstrap/near/199794223" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> bjorn3 <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/std.20hacking.20without.20bootstrap.html#199794223">(Jun 04 2020 at 19:11)</a>:</h4>
<p>I believe the command for that was <code>./x.py test --stage 0 src/libstd</code>.</p>



<a name="199800381"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/std%20hacking%20without%20bootstrap/near/199800381" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Dirkjan Ochtman <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/std.20hacking.20without.20bootstrap.html#199800381">(Jun 04 2020 at 19:52)</a>:</h4>
<p>I couldn't find that in the rustc dev guide</p>



<a name="199800394"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/std%20hacking%20without%20bootstrap/near/199800394" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Dirkjan Ochtman <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/std.20hacking.20without.20bootstrap.html#199800394">(Jun 04 2020 at 19:53)</a>:</h4>
<p>is there some place I should have looked?</p>



<a name="199800962"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/std%20hacking%20without%20bootstrap/near/199800962" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Dirkjan Ochtman <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/std.20hacking.20without.20bootstrap.html#199800962">(Jun 04 2020 at 19:57)</a>:</h4>
<p>also that still requires pulling in the LLVM subtree thing :(</p>



<a name="199804139"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/std%20hacking%20without%20bootstrap/near/199804139" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Dirkjan Ochtman <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/std.20hacking.20without.20bootstrap.html#199804139">(Jun 04 2020 at 20:26)</a>:</h4>
<p>and apparently still needs cmake to be installed, which shouldn't be needed?</p>



<a name="199808107"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/std%20hacking%20without%20bootstrap/near/199808107" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> mark-i-m <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/std.20hacking.20without.20bootstrap.html#199808107">(Jun 04 2020 at 21:02)</a>:</h4>
<p><span class="user-mention" data-user-id="226095">@Dirkjan Ochtman</span> No it's not in the guide, but we are working on adding it: <a href="https://github.com/rust-lang/rustc-dev-guide/pull/731">https://github.com/rust-lang/rustc-dev-guide/pull/731</a></p>
<p>And, yes, it still requires pulling all of the submodules, which is annoying. I don't think you should need cmake, though, if you use system LLVM</p>



<a name="199808197"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/std%20hacking%20without%20bootstrap/near/199808197" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> mark-i-m <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/std.20hacking.20without.20bootstrap.html#199808197">(Jun 04 2020 at 21:03)</a>:</h4>
<p>I was talk with <span class="user-mention silent" data-user-id="116122">simulacrum</span> and they said it should be possible to streamline the process of contributing to std a lot (e.g. just using cargo eventually)</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>